/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import javax.ejb.Stateful;
import javax.ejb.LocalBean;
/**
 *
 * @author allishepherd
 * this class represent an invidual posting which is used to generate new postings and then store that data to the linked list
 */

@Stateful
@LocalBean
public class PostingBean {
    
    private SeedBean seed;
    private String quantity;
    private String quantUnit;
    private String description;
    private String location;
    private String willShip;
    private double shipCost;
    private FarmerBean farmer;

    public FarmerBean getFarmer() {
        return farmer;
    }

    public void setFarmer(FarmerBean farmer) {
        this.farmer = farmer;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getQuantUnit() {
        return quantUnit;
    }

    public void setQuantUnit(String quantUnit) {
        this.quantUnit = quantUnit;
    }

    public String getQuantity() {
        return quantity;
    }

    public void setQuantity(String quantity) {
        this.quantity = quantity;
    }

    public SeedBean getSeed() {
        return seed;
    }

    public void setSeed(SeedBean seed) {
        this.seed = seed;
    }

    public double getShipCost() {
        return shipCost;
    }

    public void setShipCost(double shipCost) {
        this.shipCost = shipCost;
    }

    public String getWillShip() {
        return willShip;
    }

    public void setWillShip(String willShip) {
        this.willShip = willShip;
    }
    
}
